<template>
	<view class="content">
		<image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
		<view style="margin-top: 30px;">
			<button type="primary" @click="handLogin">登录</button>
			<button type="primary" @click="caselist">方案列表</button>
			<button type="primary" @click="healthgoods">健康课堂</button>
			<button type="primary" @click="audit">管理员审核</button>
			<button type="primary" @click="add">商家添加</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '欣心健康'
			}
		},
		onLoad() {

		},
		methods: {
			handLogin(){
				console.log("登录")
				uni.navigateTo({
					url:'../bbs/community/index'
				})
			},
			caselist(){
				console.log("ddddddddddddddd")
				uni.navigateTo({
					url:'../case/index'
				})
			},
			healthgoods(){
				uni.navigateTo({
					url:'../course/classroom/index'
				})
			},
			audit(){
				uni.navigateTo({
					url:'../shop/audit/index'
				})
			},
			add(){
				uni.navigateTo({
					url:'../shop/abc/index'
				})
			}
		}
	}
</script>


<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
